<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
</head>
<body>
    <h1>用户登录</h1>
<h3>欢迎关注</h3>
<form method="post" action="/doLogin">
    username:<input type="text" name="username">
    password:<input type="password" name="password">
    <input type="submit" name="提交">
<div style="color: red">${errorMsg}</div>
</form>
</body>
</html>